package com.erp.itm.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 项目管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-07-17 20:36:10
 */
@Data
public class ProjectDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//项目名称
	@Excel(name = "项目名称", orderNum = "1")
	private String name;
	//项目编号(自动生成)
	@Excel(name = "项目编号", orderNum = "2")
	private String itmNumber;
	//所属公司ID
	private Integer complanyId;
	//所属公司
	@Excel(name = "所属公司", orderNum = "3")
	private String complanyName;
	//项目类型ID
	private Long itmProTypeid;
	//项目类型
	@Excel(name = "项目类型", orderNum = "4")
	private String itmProType;
	//项目负责人ID
	private Long itmManagerId;
	//项目负责人
	@Excel(name = "项目负责人", orderNum = "5")
	private String itmManagerName;
	//业务部门ID
	private Long deptId;
	//业务部门
	@Excel(name = "业务部门", orderNum = "6")
	private String deptName;
	//项目来源
	private Integer itmSource;

	@Excel(name = "项目来源", orderNum = "7")
	private String itmSourceName;
	//项目模式
	private Integer itmModel;
	@Excel(name = "项目模式", orderNum = "8")
	private String itmModelName;
	//项目地址
	@Excel(name = "项目地址", orderNum = "9")
	private String itmAddress;
	//拟承接装修部位
	@Excel(name = "拟承接装修部位", orderNum = "10")
	private String itmDecSite;
	//项目说明
	private String itmRemark;
	//项目状态（阶段）
	private Integer status;
	@Excel(name = "项目阶段", orderNum = "11")
	private String statusname;
	//项目等级
	private Integer itmGrade;
	//客户名称
	@Excel(name = "客户名称", orderNum = "12")
	private String custName;
	//创建人ID
	private Long userIdCreate;
	//创建人
	private String userNameCreate;
	//创建时间
	private Date gmtCreate;
	//修改人ID
	private Long userIdModified;
	//修改人
	private String userNameModified;
	//修改时间
	private Date gmtModified;
	//付款方式ID
	private Long paytypeId;
	//付款方式
	@Excel(name = "付款方式", orderNum = "13")
	private String paytypeName;
	//合同金额管理
	private DeviceAmountDO deviceAmount;
	//维保开始时间
	private Date startMaintenTime;
	//维保结束时间
	private Date endMaintenTime;
	//项目总金额
	private BigDecimal projectAmount;

	//合同金额管理（二次确认）
	private DeviceAmountTwoDO deviceAmountTwoDO;
	//已收金额
	private BigDecimal receivedAmount;
	//开票金额
	private BigDecimal invoiceAmount;
	//项目组
	private Long[] userIds;

	private String userNames;

	private Date gmtCreateStr;
	private Date gmtCreateend;
	private Date gmtModifiedend;
	private Date gmtModifiedStr;

	private Integer ismanager;

	private Long otherid;

	private BigDecimal salexpprice;

}
